package service;

import entity.Category;
import entity.Country;
import entity.Movie;
import entity.MoviePage;

import java.util.List;

/**
 * @author 郝雷蒙
 * @Description
 * @date 2020/12/17 19:48
 */
public interface MovieService {
    public List<Category> getAllCategories();
    public List<Country> getAllCountries();

    public MoviePage getAllMovies(List<Integer> categoryIds,Integer pageNum,Integer pageSize);
    public Movie getMovieById(Integer id);
    public Integer addOneMovie(Movie movie,List<Integer> categories);
    public Integer setOneMovie(Movie movie,List<Integer> categories);
    public Integer delMovieByList(List<Integer> movieList);
    public Category getCategoryById(Integer categoryId);

}
